package club.justwill.single.persistence.support;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * Created by luoyu on 15-12-23.
 */
@MappedSuperclass
public abstract class InvitationBase extends Jpo {

    @Column(name = "status")
    private Integer status;

    protected void copyBase(InvitationBase other) {
        setStatus(other.getStatus());
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
